<title>首页模板</title>
<div class="layui-card layadmin-header">
    <div class="layui-breadcrumb" lay-filter="breadcrumb">
        <a lay-href="">主页</a>
        <a><cite>设置</cite></a>
        <a><cite>首页模板配置</cite></a>
    </div>
</div>
<div class="layui-col-xs12 layui-col-sm8 layui-col-md8 layui-col-md-offset2 layui-col-sm-offset2">
    <div class="layui-field-box">
        <div class="layui-card">
            <div class="layui-card-header">首页模板配置</div>
            <div class="layui-card-body">
                <div class="layui-tab" lay-filter="tab">
                    <ul class="layui-tab-title">
                        <li class="layui-this" style="width: 48%;">模板切换</li>
                        <li style="width: 48%;">模板配置</li>
                    </ul>
                    <div class="layui-tab-content">
                        <div class="layui-tab-item layui-show">
                            <ul class="flow-default layui-row layui-bg-gray layui-col-space12 layui-form" id="flow"
                                lay-filter="flowform" style="padding: 10px; text-align: center;"></ul>
                        </div>
                        <div class="layui-tab-item">
                            <form class="layui-form layui-form-pane" action="" lay-filter="template">
                                <div class="layui-form-item layui-form-text">
                                    <label class="layui-form-label">公共静态资源CDN</label>
                                    <div class="layui-input-block">
                                        <select name="publiccdn">
                                            <option value="1">七牛云CDN</option>
                                            <option value="0" selected="">360CDN</option>
                                            <option value="2">BootCDN</option>
                                            <option value="3">CDNJS</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="layui-form-item layui-form-text"><label
                                        class="layui-form-label">专有静态资源CDN域名</label>
                                    <div class="layui-input-block"><input type="text" name="privatecdn"
                                            placeholder="直接填写域名即可，不使用请留空" autocomplete="off" class="layui-input">
                                    </div>
                                </div>
                                <div style=" padding: 10px; margin-top: -10px;">
                                    不懂请勿乱填，否则会导致页面显示不正常</div>
                                <div class="layui-form-item layui-form-text">
                                    <label class="layui-form-label">手机使用模板</label>
                                    <div class="layui-input-block">
                                        <select name="phone" id="option">
                                            <option value="0" selected="">与电脑版相同(默认选项)</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="layui-form-item">
                                    <div class="layui-input-block">
                                        <div class="layui-col-xs8 layui-col-md6 layui-col-md-offset2"><button
                                                type="submit" class="layui-btn layui-btn-default layui-btn-fluid"
                                                lay-submit="" lay-filter="save_template">修改</button>
                                        </div>
                                    </div>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script>
    layui.use('set', layui.factory('set'));
</script>